﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using EzDesk.Core.Model;

namespace EzDesk.Core.CoreImpl
{
    public class AppSessionService : IAppSessionService
    {
        public AppSession GetAppSession(Guid currentUserId, string appName)
        {
            return new AppSession()
            {
                UserId = currentUserId.ToString(),
            };
        }

        public bool UpdateSession(AppSession sessionFromPost)
        {
            // 如果session不存在，返回false
            return true;
        }
    }
}
